<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>东万小程序后台</title>
		<link rel="stylesheet" href="/dvmini/res/plugins/layui/css/layui.css">
		<link rel="stylesheet" href="/dvmini/res/css/Layuiglobal.css">
		<link rel="stylesheet" href="/dvmini/res/plugins/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="http://at.alicdn.com/t/font_191348_9fd7twf7my3hxgvi.css">
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_450595_edbottoi4nu0izfr.css">
		<script src='http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js'></script>
		<style>
			.container {
				padding: 16px;
			}
			
			
			.layui-nav-tree .layui-nav-more {
				right: 30px;
			}
			.layui-layout-admin .site-demo-body {
			    top: 70px;
			}
			.layui-layout-admin .header-demo{
				border: none;
			}
			#chromeTip{
				position:fixed;
				top:0;
				bottom:0;
				left:0;
				right:0;
				background-color:#fff;
				z-index: 10000;
				display: none;
				
			}
			.browserhint{
			    width: 800px;
			    margin: 0 auto;
			    border-radius: 4px;
			    height: 100px;
			    top: 50%;
			    margin-top: -50px;
			    position: relative;
			    color: #666;
			    text-align: center;
			}
			.browserhint i{
				position:absolute;
				right:40px;
				top:20px;
				color:#fff;
				font-size:16px;
			}
			.browserhint p{
				line-height:35px;
			}
			.browseimg{
				background:url(../res/images/browser.png) no-repeat top -60px left 0px;
				width:40px;
				height:40px;
				vertical-align: middle;
				margin:0 5px;
				display: inline-block;
			}
			.fa{
				margin-top:10px;
			}
		</style>
		<script>
		/* $(function(){
			var tipObj = document.getElementById('chromeTip');
			if(tipObj){
				if( navigator.userAgent.indexOf('Chrome') == -1 || navigator.userAgent.indexOf('Edge') != -1){
					tipObj.style.display = 'block';
				}
			}
		}) */
			
		</script>
	</head>
	
	<body>
		<div id="chromeTip"> 
			<div class="browserhint">
				<p>由于您正在使用非谷歌内核的浏览器，微易互动将无法为您提供最佳体验。<br />
	建议您更换：<a href="http://rj.baidu.com/soft/detail/14744.html?ald" target="_blank" style="color:#ff8400;text-decoration: underline;"><span class="browseimg"></span>谷歌浏览器</a></p>
			</div>
		</div>
		<div class="layui-layout layui-layout-admin">
			<div class="layui-header header header-demo">
				<div class="layui-main">
					<div class="admin-login-box">
						<a class="logo">

							<img src="/dvmini/res/images/logo.png" />
						</a>
						<div class="admin-side-toggle">
							<i class="fa fa-bars" aria-hidden="true"></i>
						</div>
						<div class="admin-side-full">
							<i class="fa fa-life-bouy" aria-hidden="true"></i>
						</div>
					</div>
					<ul class="layui-nav admin-header-item" style="right:80px;">
						<li class="layui-nav-item">
							<a href="javascript:;" class="admin-header-user loginnamebtn">
								<span class="loginname">admin</span>
							</a>
							
						</li>
					</ul>
			
					<div class="layui-nav-item" style="position: absolute;top:0;right:10px;">
						<a class="signOut" style="color:#999;padding:0 12px;line-height:25px;margin-top:20px;border:1px solid #999;border-radius:20px;display:inline-block; cursor: pointer;">退出</a>
					</div>
				</div>
			</div>
			<!--侧方导航-->
			<div class="layui-side layui-bg-black" id="admin-side">
				<div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side"></div>
			</div>
			<div class="layui-body layui-tab-content site-demo site-demo-body" style="bottom: 0;" id="admin-body">
				<div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
					<ul class="layui-tab-title">
					 <li lay-id="0" class="layui-this"><i class="iconfont icon-xiangmu"></i><cite>项目管理</cite><i class="layui-icon layui-unselect layui-tab-close" data-id="0">ဆ</i></li>
					<!-- </li>
						<li class="layui-this">
							<i class="fa fa-dashboard" aria-hidden="true"></i>
							<cite>项目管理</cite>
						</li>-->
					</ul> 
					<div class="layui-tab-content" style="min-height: 150px; padding: 0; height: auto;">
						<div class="layui-tab-item layui-show">
							<iframe src="/dvmini/project/projectIndex" target="_self" id="baseIframe" data-id="0"></iframe>
						</div>
					</div>
				</div>
			</div>
			
			<div class="site-tree-mobile layui-hide">
				<i class="layui-icon">&#xe602;</i>
			</div>
			<div class="site-mobile-shade"></div>
			<script src='/dvmini/res/js/jquery.min.js'></script>
			<script src="/dvmini/res/plugins/layui/layui.js" charset="utf-8"></script>
			<script src="/dvmini/res/js/navbar.js" charset="utf-8"></script> 
			<script type="text/javascript" src="/dvmini/res/plugins/datas/nav.js"></script>
			<script src="/dvmini/res/js/index.js"></script>
			<script src="/dvmini/res/js/me.js"></script>
			<script>
				layui.use([ 'element','layer'], function() {
						var element = layui.element(),
						layer = layui.layer;
						 $(".fa-dashboard").on("click",function(){
							 if($(this).attr("lay-id")=="0"){
								var src=$("iframe[data-id='0']")[0].src;
								window.parent.location.reload(src)
							} 
							
						}) 
							
						
				});
				
				var cookie="Th_xc_30b679eb2c90c60ff8679ce4ca562fcc";
				function setCookie(name, value) {
					var Days = 0;
					var exp = new Date();
					exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
					document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";path=/";
				}

				var merchantid = null;
				layui.use('layer', function() {
					var $ = layui.jquery;
					var layer = layui.layer;

					var globalNum = {
						account: '',
						phone: '',
						nickname: ''
					};


					
					
					//退出
					$(".signOut").click(function() {
						$.post("/dvmini/exit", function(data) {
							if(data.code == 0) {
								//setCookie(cookie, "");
							}
						});
						location.href = "/dvmini"
					})

					// 初始化
					function init() {

					}
					init();
					
				})
			</script>
		</div>
	</body>

</html>